package com.xiongda.pojo;

import java.util.Date;

/**
 * 分类
 * @author 缪琼
 */
public class Category {
    private Long id;// id

    private Long userId;// 用户id

    private String name;// 分类名

    private Date createTime;// 创建时间

    private Date updateTime;// 更新时间

    private Integer delFlag;// 逻辑删除标识

    private Integer type;// 类型（1.博文2.相册）

    private String remark;// 描述

    private String parentIds;// 父id

    public Category(Long id, Long userId, String name, Date createTime, Date updateTime, Integer delFlag, Integer type, String remark, String parentIds) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.delFlag = delFlag;
        this.type = type;
        this.remark = remark;
        this.parentIds = parentIds;
    }

    public Category() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds == null ? null : parentIds.trim();
    }
}